package com.xm.httpapi.BaseApiStatus;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 自定义的异常
 */

public class CommonException extends RuntimeException {
    private String message;

    public CommonException(String message) {
        super(message);
        this.message = message;
    }

    @Override
    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
